package gruppe7.model;

import java.util.List;

public interface DataProvider {

	public User getUserByName(String username) throws ProviderException, UserException;
	
	public float getUserBalance(User user) throws ProviderException;
	
	public boolean updateUserBalance(User user, float newBalance) throws ProviderException;

	public User[] getAllUsers() throws ProviderException;
	
	
	public List<String> getStationList() throws ProviderException;
	
	public String getManagerByStationId(int stationID) throws ProviderException;
	
	public Station getStationByName(String name) throws ProviderException;
	
	public void updateStationInfo(Station station, String newName, int newZone, String newManager, String newDate, String newComment) throws ProviderException;
	
	public Station getStationById(int stationID) throws ProviderException;
}
